<div class="createBox addmarginB20">
    <div class="batchNum">
        <p class="remmarginB fnt-size18 font-opensansbd">Batch <span class="createdVenueBatchCount create_venue_0_batchcounter" id="create_venue_0_batch_counter_0">1</span><em class="sprite dw-arrow"></em></p>
    </div>
    <div class="content">
        <div class="padding20px rempaddingT">   
            <div class="height1px dash-borB remmarginB addmarginB20"></div>                    	
            <div class="formElements">
                <div class="col-2">
                    <div class="common">
                        <div class="colcoursebatch col1">
                            <div class="dob flatui">
                                <label for="CourseBatche_date_from" class="required">Start Date<span class="required">*</span></label> 
                                <em class="sprite question-sign" title="<?php echo Message::CLASS_BATCH_START_DATE; ?>">&nbsp;</em>

                                <div class="clear"></div>
                                <input type="hidden" name="batchIndex[0][]" value="0">
                                <input id="course_venue_0_batch_start_date_0" name="CourseBatche[ClassVenue][0][date_from][]" type="text" class="requiredfield hasDatepicker field small" onkeyup="hasDatepicker(this.id);" onblur="checkValueEmpty(this.id)" onclick="hasDatepicker(this.id);" onchange="checkDate(this.id)" onpaste="return false;">
                                <div class="errorMessage" id="error_course_venue_0_batch_start_date_0" style="display:none">Start date cannot be blank.</div></div>
                        </div>
                        <div class="colcoursebatch col2">
                            <div class="timef"><label for="CourseBatche_date_to" class="required">End Date <span class="required">*</span></label>
                                <em class="sprite question-sign" title="<?php echo Message::CLASS_BATCH_END_DATE; ?>">&nbsp;</em><div class="clear"></div>
                                <input name="CourseBatche[ClassVenue][0][date_to][]" id="course_venue_0_batch_end_date_0" type="text" class="hasDatepicker requiredfield field  small" onkeyup="hasDatepicker(this.id)" onclick="hasDatepicker(this.id)" onpaste="return false;" onchange="checkDate(this.id)" onblur="checkValueEmpty(this.id)">
                                <div class="errorMessage" id="error_course_venue_0_batch_end_date_0" style="display:none">End date cannot be blank.</div>
                                <div class="errorMessage" id="enddate_course_venue_0_batch_end_date_0"></div>                                
                            </div>                            
                        </div>
                        <div class="colcoursebatch col2">
                            <div class="timef flatui">
                                <label for="CourseBatche_price" class="required">Price <span class="required">*</span></label>
                                <em class="sprite question-sign" title="<?php echo Message::CLASS_BATCH_PRICE; ?>">&nbsp;</em>
                                <div class="clear"></div>
                                <input name="CourseBatche[ClassVenue][0][price][]" id="course_venue_0_batch_price_0" type="text" onkeypress="return isNumberKey(event)" class="requiredfield field  small" onblur="checkValueEmpty(this.id)">
                                <div class="errorMessage" id="error_course_venue_0_batch_price_0" style="display:none">Price cannot be blank.</div>
                            </div>
                        </div>
                        <div class="colcoursebatch col2">
                            <div class="timef flatui"><label for="CourseBatche_seats" class="required">Seats <span class="required">*</span></label>
                                <em class="sprite question-sign" title="<?php echo Message::CLASS_BATCH_SEATS; ?>">&nbsp;</em><div class="clear"></div>
                                <input name="CourseBatche[ClassVenue][0][seats][]" id="course_venue_0_batch_seats_0" type="text" onkeypress="return isNumberKey(event)" class="requiredfield field  small" onblur="checkValueEmpty(this.id)">
                                <div class="errorMessage" id="error_course_venue_0_batch_seats_0" style="display:none">Seats cannot be blank.</div>
                            </div>
                        </div>
                        <div class="clear"></div>
                    </div>
                    <div class="greenBor">
                        <p class="padding20px remmarginB font-opensansbd fnt-size16">Batch Discounts</p>
                        <div class="dash-borB height1px"></div>
                        <div class="padding20px">
                            <?php /* .......................          Here is the early discount code start................ */ ?>
                            <div id="venue_0_batch_0_earlydiscount"></div>
                            <div class="common">
                                <p class="alignL remmarginB"><a href="javascript:void(0)" id="venue_0_batch_0_earlydiscount_0" onclick="addEarlyDiscount(this.id);">+ Add Early Discounts<em class="sprite question-sign" title="<?php echo Message::CLASS_BATCH_EARLY_DISCOUNT; ?>">&nbsp;</em></a></p>
                            </div>
                            <?php /* .......................          Here is the early discount code end................ */ ?>

                            <div class="height1px borB addmarginB30 rempaddingB"></div> 
                            <?php /* .......................          Here is the group discount code start................ */ ?>
                            <div id="venue_0_batch_0_groupdiscount"></div>
                            <div class="common">
                                <p class="alignL remmarginB"><a href="javascript:void(0)" id="venue_0_batch_0_groupdiscount_0" onclick="addGroupDiscount(this.id);">+ Add Group Discounts <em class="sprite question-sign" title="<?php echo Message::CLASS_BATCH_GROUP_DISCOUNT; ?>">&nbsp;</em></a></p>
                            </div>     
                            <?php /* .......................          Here is the group discount code end ................ */ ?>
                            <div class="height1px borB addmarginB30 rempaddingB"></div>
                        </div>
                    </div>   
                    <div class="clear"></div>
                    <div class="common">
                        <div class="padding20px">
                            <input type="radio" class="fancyRadio"  id="venue_0_batch_0_daySession_show_hide" name="days" checked="checked"><label>Days of the week</label><em class="sprite question-sign" title="<?php echo Message::CLASS_BATCH_DAY_SESSION; ?>">&nbsp;</em>
                            <input type="radio" class="fancyRadio"  id="venue_0_batch_0_dateSession" name="days"><label>Number of Sessions</label><em class="sprite question-sign" title="<?php echo Message::CLASS_BATCH_DATE_SESSION; ?>">&nbsp;</em>
                        </div>
                    </div>

                    <div class="common">
                        <div class="greenBor">
                            <p class="padding20px remmarginB font-opensansbd fnt-size16">Batch Sessions</p>
                            <div class="dash-borB height1px"></div> 
                            <div class="venue_0_batch_0_daySession_show_hide">
                                <div class="padding20px">
                                    <div class="insm-col1">
                                        <label>Select Day</label>
                                        <div class="clear"></div> 
                                        <?php echo CHtml::dropDownList('CourseBatcheDaySession[CourseBatche][0][ClassVenue][0][schedule_id][]', '', getAllSchedule('course'), array('empty' => 'Select Day', 'class' => 'courseselectBox requiredfield ClassDaySession_schedule_id_0', 'id' => 'course_venue_0_batch_0_daySession_schedule_id_0',)); ?>
                                        <div class="errorMessage" id="error_course_venue_0_batch_0_daySession_schedule_id_0" style="display:none">Schedule cannot be blank.</div>
                                    </div>

                                    <div class="insm-col2 bootstrap-timepicker">
                                        <label>Start Time</label>
                                        <div class="clear"></div> 
                                        <input onclick="hastimePicker(this.id)" onpaste="return false;" onblur="checkValueEmpty(this.id);"  name="CourseBatcheDaySession[CourseBatche][0][ClassVenue][0][time_from][]" id="course_venue_0_batch_0_daySession_time_from_0" type="text" onkeypress="return isNumberKey(event)" onchange="timeCheck(this.id);" class=" field small hastimePicker requiredfield" value="">
                                        <div class="errorMessage" id="error_course_venue_0_batch_0_daySession_time_from_0" style="display:none">Start time cannot be blank.</div>
                                    </div>

                                    <div class="insm-col2 bootstrap-timepicker">
                                        <label>End Time</label>
                                        <div class="clear"></div> 
                                        <input name="CourseBatcheDaySession[CourseBatche][0][ClassVenue][0][time_to][]" id="course_venue_0_batch_0_daySession_time_to_0" class="hastimePicker requiredfield  field small" onclick="hastimePicker(this.id)" onpaste="return false;" onblur="checkValueEmpty(this.id)" type="text"   size="10" value="" onchange="timeCheck(this.id);">
                                        <div class="errorMessage" id="error_course_venue_0_batch_0_daySession_time_to_0" style="display:none">End time cannot be blank.</div>
                                        <div class="errorMessage" id="endTime_course_venue_0_batch_0_daySession_time_to_0" ></div>
                                    </div>

                                    <div class="insm-col3 ">
                                        <label style="margin:4px 0px 15px 9px">Flexible</label>
                                        <div class="clear"></div> 
                                        <input type="checkbox" class="isdaySesionFlexble" value="1" id="course_venue_0_batch_0_daySession_is_flexible_0" onclick="return isFlexibleDaySession(this.id);" name="CourseBatcheDaySessions[CourseBatche][' + batchIndex + '][ClassVenue][' + venueIndex + '][is_flexible][]" >
                                        <input type="hidden" name="CourseBatcheDaySession[CourseBatche][0][ClassVenue][0][is_flexiblevalue][]" value="0" id="course_venue_0_batch_0_daySession_is_flexiblevalue_0"/>
                                    </div>
                                    <div class="clear"></div>                                                       	
                                </div>
                            </div>
                            <div class="venue_0_batch_0_daySession"></div>
                            <div class="padding20px venue_0_batch_0_dateNoSession" style="display: none;">
                                <div class="formElements">
                                    <div class="col col-1">
                                        <label>No. of Sessions<em class="sprite question-sign">&nbsp;</em></label>
                                        <input type="text" class="field" name="CourseBatche[ClassVenue][0][no_of_session][]" id="no_of_session_venue_0_batch_0" onchange="dateSessionValue(this.id);" onkeyup=" dateSessionValue(this.id);" onkeypress="return isNumberKey(event);" placeholder="0" value="" maxlength="2" >
                                        <div class="errorMessage" id="error_course_no_of_session_venue_0_batch_0" style="display:none">No of session cannot be blank.</div>
                                    </div>
                                    <div class="clear"></div>
                                </div>
                            </div>
                            <div class="venue_0_batch_0_dateSession " style="display: none;">  </div>
                            <div class="dash-borB height1px"></div>
                            <div class="venue_0_batch_0_daySession_addSesion">
                                <div class="padding20px">
                                    <a class="floatR" href="javascript:void(0);" onclick="addDaySession(this.id);" id="venue_0_batch_0_daySession_0">+Add More</a>
                                    <div class="clear"></div>
                                </div>
                            </div>
                        </div>


                        <?php /* .......................         Here is the class structure code start................ */ ?>
                        <div class="greenBor" style="margin-top: 10px;">
                            <p class="padding20px remmarginB font-opensansbd fnt-size16">Class Structure  <em class="sprite question-sign" title="<?php echo Message::CLASSES_STRUCTURE; ?>">&nbsp;</em></p>
                            <div class="dash-borB height1px addmarginB20"></div>
                            <?php $this->renderPartial('/classStructures/_classStructureform', array('form' => $form)); ?>  
                        </div>
                        <?php /* .......................         Here is the class structure code end................ */ ?>
                    </div>
                </div> 
            </div>
        </div>                                
    </div>  
</div>  

